package edu.yngsxy.dsstudyApi.core.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 注册请求数据传输对象
 */
@Data
@Schema(description = "注册信息")
public class RegisterDTO extends LoginDTO {
    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    @Schema(title = "邮箱", description = "")
    private String email;
    @Schema(title = "手机号码", description = "")
    private String phone;

    // Getters and Setters

}
